package com.deram.ctin.serv.business.service;

import com.deram.ctin.serv.business.entity.BusinessInfo;
import com.deram.ctin.serv.business.filter.BusinessInfoFilter;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author: jtt
 * @Description:
 * @Date: 2017/9/13 16:07
 * @version: V1.0
 */
public interface BusinessInfoService {

    BusinessInfo find(Long enterId);

    BusinessInfo findByYear(Long enterId, Integer year);

    List<BusinessInfo> list(BusinessInfoFilter filter);

    BusinessInfo save(BusinessInfo param);

    void insertList(List<BusinessInfo> list);

    void delete(Long id);

    List<Integer> listYear(Long enterId);
}
